home *** CD-ROM | disk | FTP | other *** search
- #
- # common make include file for libg++-2.X
- #
- VPATH = libsrc:iosrc
-
- %.o: %.cc
- $(GXX) -c $(GXXFLAGS) $<
-
- LIBSRC = builtin.cc chr.cc compare.cc delete.cc \
- dtoa.cc error.cc fmtq.cc gcd.cc hash.cc ioob.cc lg.cc \
- minmax.cc new.cc pow.cc regex.cc sqrt.cc str.cc timer.cc xacg.cc \
- xallocri.cc xbinomia.cc xbitset.cc xbitstri.cc xcomplex.cc \
- xdiscuni.cc xerlang.cc xfix.cc xfix16.cc xfix24.cc \
- xgeom.cc xgetopt.cc xhypgeom.cc xinteger.cc xlognorm.cc xmlcg.cc \
- xnegexp.cc xnormal.cc xobstack.cc xpoisson.cc xrandom.cc xrationa.cc \
- xregex.cc xrndint.cc xrng.cc xsmplhis.cc xsmplsta.cc \
- xstring.cc xuniform.cc xweibull.cc xeh.cc xdllist.cc xsllist.cc xintdbl.cc
-
- IO_OBJECTS = filedoalloc.o floatconv.o genops.o fileops.o \
- iovfprintf.o \
- iovfscanf.o ioignore.o iopadn.o \
- iofgetpos.o iofread.o iofscanf.o \
- iofsetpos.o iogetline.o \
- ioprintf.o ioseekoff.o ioseekpos.o \
- outfloat.o stdfiles.o strops.o iofclose.o ioungetc.o
- # outfloat.o stdfiles.o strops.o iofclose.o iopopen.o ioungetc.o
-
- IOSTREAM_OBJECTS = builtinbuf.o filebuf.o fstream.o \
- indstream.o isgetline.o isgetsb.o isscan.o ioextend.o iomanip.o iostream.o \
- osform.o procbuf.o sbform.o sbgetline.o sbscan.o \
- stdiostream.o stdstreams.o stream.o streambuf.o strstream.o \
- PlotFile.o SFile.o parsestream.o pfstream.o editbuf.o
-
- # These files define _IO_read etc, which are just wrappers for read(2) etc.
- # They need to be changed to use name-space-clean (e.g. __read) versions
- # for each specific libc.
- OSPRIM_OBJECTS = ioprims.o iostrerror.o cleanup.o
-
- LIBIOSTREAM_OBJECTS = $(IO_OBJECTS) $(IOSTREAM_OBJECTS) $(OSPRIM_OBJECTS)
-
- OBJ = ident.o $(LIBSRC:.cc=.o) $(LIBIOSTREAM_OBJECTS)
-
- all: $(ALL)
- all020: $(ALL020)
-
- $(LIBG++): $(OBJ)
- rm -f $@
- $(AR) rs $@ $^
-
- $(LIBG++020): $(OBJ)
- rm -f $@
- $(AR) rs $@ $^
-
- install: $(ALL)
- cp $(ALL) $(GXXLIB)
-
- install020: $(ALL020)
- cp $(ALL020) $(GXXLIB)
-
- clean :
- rm -f $(OBJ)
-
- realclean : clean
- rm -f $(ALL) $(ALL020)
-
- .PHONY: install install020 clean realclean all all020
-
- # DO NOT DELETE THIS LINE -- g++dep uses it.
- # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
- # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
-